package com.xmtlxx.oms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xmtlxx.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 任务视频记录(大华)
 *
 * @author hergreen
 * @TableName T_TASK_VIDEO_RECORD
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "T_TASK_VIDEO_RECORD")
@Data
@NoArgsConstructor
public class TaskVideoRecord extends BaseEntity implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    private String taskId;

    /**
     * 文件
     */
    private String fileName;

    /**
     * 播放地址
     */
    private String url;

    /**
     * 开始时间
     */
    private String beginTime;

    /**
     * 结束时间
     */
    private String endTime;

    /**
     * 删除标记
     */
    private String delFlag;

   public TaskVideoRecord(String id) {

        super();
        this.id = id;
        this.delFlag = "1";

    }

}